import request from '@/utils/request'

// 查询异常管理列表
export function listExmanagement(query) {
  return request({
    url: '/monitoring/exmanagement/list',
    method: 'get',
    params: query
  })
}

// 查询异常管理详细
export function getExmanagement(id) {
  return request({
    url: '/monitoring/exmanagement/' + id,
    method: 'get'
  })
}

// 新增异常管理
export function addExmanagement(data) {
  return request({
    url: '/monitoring/exmanagement',
    method: 'post',
    data: data
  })
}

// 修改异常管理
export function updateExmanagement(data) {
  return request({
    url: '/monitoring/exmanagement',
    method: 'put',
    data: data
  })
}

// 删除异常管理
export function delExmanagement(id) {
  return request({
    url: '/monitoring/exmanagement/' + id,
    method: 'delete'
  })
}

